<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" :title="mixinEdit_editTitle" width="500px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){mixinEdit_editBoxClose('editForm')}" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="mixinEdit_loading">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">
            <el-form-item label="权益类型" prop="type">
                <el-input :value="form.rightType | num2rightType" :disabled="true">
                </el-input>
            </el-form-item>
            <el-form-item label="权益名称" prop="name">
                <el-input v-model="form.rightName" maxlength="5" show-word-limit></el-input>
            </el-form-item>
            <el-form-item label="权益说明" prop="remark">
                <el-input type="textarea" :autosize="{ minRows: 5}" placeholder="请输入内容" v-model="form.remark"
                    maxlength="500" show-word-limit>
                </el-input>
            </el-form-item>

        </el-form>
    </div>
    <div slot="footer">
        <div class="btns">
            <el-button :disabled="mixinEdit_loading" @click="mixinEdit_editBoxClose('editForm')">取 消</el-button>
            <el-button :disabled="mixinEdit_loading" type="primary"
                @click="mixinEdit_editFormSubmit({model:'form',ref:'editForm'})">确定</el-button>
        </div>
    </div>
</el-dialog>